package com.isoft.gsrm2.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.RootPanel;
public class MainTest implements EntryPoint {

	@Override
	public void onModuleLoad() {
		
		Button b = new Button("Click me");
		Button c = new Button("banada bas");
		Button d = new Button("bana bakma ise yaramiyom"); 
		
		c.addClickHandler( new ClickHandler(){@Override public void onClick(ClickEvent arg0) {Window.alert("buda benden");}});
		d.setEnabled(false);
		b.addClickHandler( new ClickHandler(){@Override public void onClick(ClickEvent arg0) {Window.alert("Hello!????");}});
		RootPanel.get().add( b );
		RootPanel.get().add( c );
	}

}





